<!DOCTYPE html>
<html>
<head>
<style>
@keyframes flash {
  0%, 100% {
    color: red;
  }
  50% {
    color: yellow;
  }
}

.flashing {
  animation: flash 2s infinite;
}
</style>
</head>
<body>

<p class="flashing">这段文本将闪烁。</p>

</body>
</html>